package com.rc.evcharger.redis;


import com.rc.evcharger.common.annotation.Redis;
import com.rc.evcharger.common.annotation.RedisType;
import com.rc.evcharger.common.base.BaseRedis;

@Redis(table = "time")
public class RedTime extends BaseRedis {
    @Redis(type = RedisType.KEY)
    public String rtua;
    @Redis(type = RedisType.KEY)
    public String gunNum;
    @Redis(type = RedisType.VALUE)
    public Long time;

    public RedTime(String rtua, String gunNum, Long time) {
        super();
        this.rtua = rtua;
        this.gunNum = gunNum;
        this.time = time;
    }

    public RedTime(String rtua, String gunNum) {
        super();
        this.rtua = rtua;
        this.gunNum = gunNum;
    }

    public String getRtua() {
        return rtua;
    }

    public void setRtua(String rtua) {
        this.rtua = rtua;
    }

    public String getGunNum() {
        return gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

}
